package day240430.polymorphism;

public class Student extends Person {
    String name;

    public void study() {
            System.out.println("StudentText.study");
    }

    @Override
    public void eat() {
        System.out.println("StudentText.eat");
    }

    @Override
    public void play() {
        System.out.println("StudentText.play");
    }
}
